package service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import domain.GroupMember;
import domain.example.GroupMemberExample;
import mapper.GroupMemberMapper;
import service.IGroupMemberService;
import service.IGroupTranService;

@Service("GroupMemberService")
public class GroupMemberServiceImpl implements IGroupMemberService {
	@Resource
	private GroupMemberMapper groupMemberMapper;
	
	@Override
	public int countByExample(GroupMemberExample example) {
		return groupMemberMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(GroupMemberExample example) {
		return groupMemberMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer groupMemberId) {
		return groupMemberMapper.deleteByPrimaryKey(groupMemberId);
	}

	@Override
	public int insert(GroupMember record) {
		return groupMemberMapper.insert(record);
	}

	@Override
	public int insertSelective(GroupMember record) {
		return groupMemberMapper.insertSelective(record);
	}

	@Override
	public List<GroupMember> selectByExample(GroupMemberExample example) {
		return groupMemberMapper.selectByExample(example);
	}

	@Override
	public GroupMember selectByPrimaryKey(Integer groupMemberId) {
		return groupMemberMapper.selectByPrimaryKey(groupMemberId);
	}

	@Override
	public int updateByExampleSelective(GroupMember record, GroupMemberExample example) {
		return groupMemberMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(GroupMember record, GroupMemberExample example) {
		return groupMemberMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(GroupMember record) {
		return groupMemberMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(GroupMember record) {
		return groupMemberMapper.updateByPrimaryKey(record);
	}

}
